package com.gxa.hualianeshop.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单物流表
 * </p>
 *
 * @author bill
 * @since 2023-07-28
 */
@Getter
@Setter
@TableName("order_shipping")
@ApiModel(value = "OrderShipping对象", description = "订单物流表")
public class OrderShipping implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单编号")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty("收货人姓名")
    @TableField("receiver_name")
    private String receiverName;

    @ApiModelProperty("收货人手机号")
    @TableField("receiver_phone")
    private String receiverPhone;

    @ApiModelProperty("收货人省份")
    @TableField("receiver_province")
    private String receiverProvince;

    @ApiModelProperty("收货人城市")
    @TableField("receiver_city")
    private String receiverCity;

    @ApiModelProperty("收货人区县")
    @TableField("receiver_town")
    private String receiverTown;

    @ApiModelProperty("收货人详细地址")
    @TableField("receiver_address")
    private String receiverAddress;

    @ApiModelProperty("创建时间")
    @TableField("created")
    private LocalDateTime created;

    @ApiModelProperty("修改时间")
    @TableField("updated")
    private LocalDateTime updated;


}
